﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using l1cs.server.model.Instance;

namespace l1cs.server.serverpackets
{
    public class S_Strup : ServerBasePacket
    {
        public S_Strup( L1PcInstance pc, int type, int time )
        {
            writeC( Opcodes.S_OPCODE_STRUP );
            writeH( time );
            writeC( pc.getStr() );
            writeC( pc.getInventory().getWeight240() );
            writeC( type );
            writeD( 0 );
        }

        override
        public byte[] getContent()
        {
            return getBytes();
        }

        override
        public String getType()
        {
            return "[S] S_Strup";
        }
    }
}
